package com.pd.backend.mapper;

import com.pd.backend.pojo.PdArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 区域持久层
 */
@Mapper
public interface PdAreaMapper {
    /**
     * 根据父id查询
     * @param parentId
     * @return
     */
    List<PdArea> selectByParentId(@Param("parentId") Integer parentId);
}
